import { BaseService, Service, Permission } from '@/cool';

@Service('crm/hdyxRiskSetting')
export default class extends BaseService {
	@Permission('wechatMessage')
	wechatMessage(params) {
		return this.request({
			url: '/wechatMessage',
			params: {
				...params
			}
		});
	}
	@Permission('updateWechatMessage')
	updateWechatMessage(params) {
		return this.request({
			url: '/updateWechatMessage',
			method: 'POST',
			data: {
				...params
			}
		});
	}
}
